
<header class="main-header">
    <!-- Logo -->
    <a href="{{ url('/') }}" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini"><i class="fa fa-home"></i></span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg"><b>{{ env('APP_NAME') }}</b></span>
    </a>

    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">左侧菜单按钮</span>
        </a>

        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <!-- User Account: style can be found in dropdown.less -->
                <li class="dropdown user user-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <!-- 头像 -->
                        <img src="{{ asset('dist/img/user2-160x160.jpg') }}" class="user-image" alt="User Image">
                        <span class="hidden-xs">{{ auth()->user()->name }}</span>
                    </a>
                    <ul class="dropdown-menu">
                        <!-- User image -->
                        <li class="user-header">
                            <img src="{{ asset('dist/img/user2-160x160.jpg') }}" class="img-circle" alt="User Image">

                            <p>
                                {{ auth()->user()->name }}
                                <small></small>
                            </p>
                        </li>
                        <!-- Menu Body -->
                    {{--<li class="user-body">--}}
                    {{--<div class="row">--}}
                    {{--<!-- <div class="col-xs-4 text-center">--}}
                    {{--<a href="#">按钮1</a>--}}
                    {{--</div>--}}
                    {{--<div class="col-xs-4 text-center">--}}
                    {{--<a href="#">按钮2</a>--}}
                    {{--</div>--}}
                    {{--<div class="col-xs-4 text-center">--}}
                    {{--<a href="#">按钮3</a>--}}
                    {{--</div> -->--}}
                    {{--</div>--}}
                    {{--<!-- /.row -->--}}
                    {{--</li>--}}
                    <!-- Menu Footer-->
                        <li class="user-footer">
                            <div class="pull-left">
                                <a href="#" class="btn btn-default btn-flat"><i class="fa fa-search"></i> 详细</a>
                            </div>
                            <div class="pull-right" style="background-color:rgba(204,51,51,0.7);">
                                <a href="{{ action('Home\LoginController@logout') }}" class="btn btn-block btn-danger btn-flat"><i class="fa fa-sign-out"></i> 退出</a>
                            </div>
                        </li>
                    </ul>
                </li>

                <!-- Control Sidebar Toggle Button -->
                {{--<li>--}}
                {{--<a href="#" class="dropdown-toggle" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>--}}

                {{--<ul class="control-sidebar-menu">--}}
                {{--<!-- User image -->--}}
                {{--<li class="user-header">--}}
                {{--<hr>--}}
                {{--</li>--}}
                {{--<li class="user-footer">--}}
                {{--<div class="pull-left">--}}
                {{--<a href="#" class="btn btn-default btn-flat"><i class="fa fa-search"></i> 详细</a>--}}
                {{--</div>--}}
                {{--<div class="pull-right" style="background-color:#c9302c;">--}}
                {{--<a href="{{ action('Home\LoginController@logout') }}" class="btn btn-block btn-danger btn-flat"><i class="fa fa-sign-out"></i> 退出</a>--}}
                {{--</div>--}}
                {{--</li>--}}
                {{--</ul>--}}
                {{--</li>--}}

            </ul>
        </div>
    </nav>

</header>
